Skip to content

Conversation

@urfeex
Copy link
Member

@urfeex urfeex commented Oct 27, 2025

We check for the robot state being IDLE and retry that with a very high timeout by default. This commit also accepts the robot to be in RUNNING in order to succeed.

Otherwise the robot will reply "Powering on" through the dashboard interface, but the state will stay unchanged because it is already idling. Thus, the call will fail (and block very long) while the pure dashboard call would be succeeding.

We check for the robot state being IDLE and retry that with a very high
timeout by default. This commit also accepts the robot to be in RUNNING
in order to succeed.
@urfeex urfeex requested a review from a team October 27, 2025 06:50
@urfeex urfeex added the bugfix label Oct 27, 2025
@codecov
Copy link

codecov bot commented Oct 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.69%. Comparing base (0fe3aec) to head (0437788).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #397      +/-   ##
==========================================
- Coverage   42.86%   42.69%   -0.18%     
==========================================
  Files          99       99              
  Lines        8624     8624              
  Branches     1170     1170              
==========================================
- Hits         3697     3682      -15     
- Misses       4647     4662      +15     
  Partials      280      280              
Flag Coverage Δ
start_ursim 82.22% <ø> (-2.17%) ⬇️
ur20-latest 40.70% <100.00%> (-0.12%) ⬇️
ur5-3.14.3 40.56% <100.00%> (-0.05%) ⬇️
ur5e-10.7.0 35.70% <0.00%> (-0.10%) ⬇️
ur5e-5.9.4 40.70% <100.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@urfeex urfeex merged commit 276120d into UniversalRobots:master Oct 29, 2025
25 of 28 checks passed
@urfeex urfeex deleted the db_client_power_on_when_running branch October 29, 2025 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants